#define _CRT_SECURE_NO_WARNINGS 1
#include "priority_queue.hpp"
void test_priority_queue()
{
	mypriority_queue::priority_queue<int, std::vector<int>, mypriority_queue::greater<int>> qu;
	qu.push(4);
	qu.push(9);
	qu.push(7);
	qu.push(2);
	qu.push(5);
	qu.push(4);
	qu.push(9);
	qu.push(7);

	while (!qu.empty())
	{
		std::cout << qu.top() << ' ';
		qu.pop();
	}
}
int main()
{
	test_priority_queue();
	return 0;
}